<?php

/**
 * @author Egor Gerasymchuk <milhous@webproduction.com.ua>
 * @copyright WebProduction
 * @package Triumph
 */
class Triumph {

    /**
     * @return Triumph_UserService
     */
    public function getUserService() {
        return ServiceUtils::Get()->getService('Triumph_UserService');
    }

    /**
     * @return Triumph_MediaService
     */
    public function getMediaService() {
        return ServiceUtils::Get()->getService('Triumph_MediaService');
    }

    
    /**
     * @return Triumph
     */
    public static function Get() {
        if (!self::$_Instance) {
            self::$_Instance = new self();
        }
        return self::$_Instance;
    }

    private function __construct() {

    }

    private function __clone() {

    }

    private static $_Instance = null;

}